package com.mlnx.work.dao.mysql;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mlnx.work.entity.User;
import com.mlnx.work.pojo.dto.UserRightDto;
import com.mlnx.work.pojo.form.UserFilterForm;
import com.mlnx.work.pojo.vo.UserVo;

import org.apache.ibatis.annotations.Param;

/**
 * author name: amanda.shan
 * create time: 2020-12-28 16:58:01
 */ 
public interface UserMapper extends BaseMapper<User>{

    Page<UserVo> listUserVo(Page<UserVo> page, @Param("filter") UserFilterForm userFilterForm);

    UserRightDto selectUserRightDto(String username);

    UserVo selectUserVo(String username);
}

